typedef struct |
|
/* ATA bus inquiry structure */ |
{ |
|
|
|
ataPBHdr |
|
/* ataPBHdr parameter block */ |
|
UInt16 |
ataEngineCount; |
/* <-- TBD; zero for now */ |
|
UInt16 |
ataReserved; |
/* Reserved */ |
|
UInt32 |
ataDataTypes; |
/* <-- TBD; zero for now */ |
|
UInt16 |
ataIOpbSize; |
/* <-- Size of ATA I/O PB */ |
|
UInt16 |
ataMaxIOpbSize; |
/* <-- TBD; zero for now */ |
|
UInt32 |
ataFeatureFlags; |
/* <-- TBD */ |
|
UInt8 |
ataVersionNum; |
/* <-- HBA Version number */ |
|
UInt8 |
ataHBAInquiry; |
/* <-- TBD; zero for now */ |
|
UInt16 |
ataReserved2; |
/* Reserved */ |
|
UInt32 |
ataHBAPrivPtr; |
/* <-- Pointer to HBA */ |
|
|
|
/* private data */ |
|
UInt32 |
ataHBAPrivSize; |
/* <-- Size of HBA */ |
|
|
|
/* private data */ |
|
UInt32 |
ataAsyncFlags; |
/* <-- Capability for */ |
|
|
|
/* callback */ |
|
UInt8 |
ataPIOMode; |
/* <-- PIO modes supported */ |
|
UInt8 |
ataReserved3; |
/* Reserved */ |
|
UInt8 |
ataSingleDMAModes; |
/* <-- Singleword DMA mode */ |
|
UInt8 |
ataMultiDMAModes; |
/* <-- Multiword DMA mode */ |
|
UInt32 |
ataReserved4[8]; |
/* Reserved */ |
|
SInt8 |
ataHBAVendor[16]; |
/* <-- HBA Vendor ID */ |
|
SInt8 |
ataContrlFamily[16]; |
/* <-- Family of ATA */ |
|
|
|
/*controller */ |
|
SInt8 |
ataContrlType[16]; |
/* <-- Controller model */ |
|
|
|
/*number */ |
|
SInt8 |
ataXPTversion[4]; |
/* <-- Version number of XPT */ |
|
SInt8 |
ataReserved6[4]; |
/* Reserved */ |
|
SInt8 |
ataHBAversion[4]; |
/* <-- Version number of HBA */ |
|
UInt8 |
ataHBAslotType; |
/* <-- Type of slot */ |
|
UInt8 |
ataHBAslotNum; |
/* <-- Slot number of the HBA */ |
|
UInt16 |
ataReserved7; |
/* Reserved */ |
|
UInt32 |
ataReserved8; |
/* Reserved */ |
} ataBusInquiry; |
|
|